package xin.printk.android.module.setting;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;


import xin.printk.android.BasicActivity;
import xin.printk.android.R;
import xin.printk.android.view.widget.MarkdownView;

public class AboutActivity extends BasicActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        Toolbar toolbar = findViewById(R.id.about_toolbar);
        setToolbar(toolbar);
        setCanFinish(true);
        MarkdownView markdownView = findViewById(R.id.md_about_preview);
        // markdownView.loadMarkdownFile("file:///android_asset/about.md");
        markdownView.loadMarkdownFile("about.md");
    }
}
